package com.linlong.linlongchat.service;

import com.linlong.linlongchat.domain.po.Message;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 华少
 * @since 2024-09-20
 */
public interface IMessageService extends IService<Message> {

    List<Message> getMessageByRecordId(Integer recordId);

    Long getCountByRecordId(Integer recordId);

    void updateStatusByRecordId(Integer recordId);

    boolean insertMessage(String targetId, String filePath);
}
